<?php

/**
 * Siswa form.
 *
 * @package    alazhar
 * @subpackage form
 * @author     Ardhy Widodo
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class SiswaForm extends BaseSiswaForm {

    public function configure() {
        $this->widgetSchema['kecerdasan_list']->addOption('method', 'getAspek');
        $this->widgetSchema['klub_list']->addOption('method', 'getNama');
        $this->widgetSchema['penyakit_kronis_list']->addOption('method', 'getNama');
        $this->widgetSchema['sekolah_list']->addOption('method', 'getNama');
        $this->widgetSchema['orang_tua_wali_list']->addOption('method', 'getNama');
        $this->widgetSchema['hobi_list']->addOption('method', 'getNamaHobi');
        $this->widgetSchema['jk']->setOption('expanded', true);
        $this->widgetSchema['kewarganegaraan']->setOption('expanded', true);
    }

}
